package com.castle.fortress.admin.study.exam.entity;

import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;
/**
 * 会员考试记录表 实体类
 *
 * @author castle
 * @since 2023-02-16
 */
@Data
@TableName("study_exam_statistics_member")
public class StudyExamStatisticsMemberEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 主键
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	@TableId(value = "id",type = IdType.ASSIGN_ID)
	private Long id;
	/**
	 * 人员ID
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	private Long memberId;
	/**
	 * 人员名称
	 */
	@TableField(exist = false)
	private String memberName;
	/**
	 * 试卷id
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	private Long examId;
	/**
	 * 试卷名称
	*/
	private String examName;
	/**
	 * 耗时，单位秒
	*/
	private Integer timeConsuming;
	/**
	 * 答题时间
	*/
	private Date quizTime;
	/**
	 * 成绩
	*/
	private Integer score;
	/**
	 * 试卷合格分
	*/
	private String qualifiedScore;
	/**
	 * 试卷总分
	*/
	private String totalScore;
	/**
	 * 已考人员平均分
	*/
	@TableField(exist = false)
	private String averageScore;
	@ApiModelProperty("状态")
	private Integer status;
	/**
	 * 考试次数
	 */
	@TableField(exist = false)
	private Integer examNum;
	/**
	 * 是否限制考试次数
	 * YesNoEnum
	 */
	@TableField(exist = false)
	private Integer isLimited;
	/**
	 * 考试限制次数
	 */
	@TableField(exist = false)
	private Integer examDesignNum;
	/**
	 * 立即(交卷后立马显示)/不显示
	 */
	@TableField(exist = false)
	private Integer showAnswerTime;


	@TableField(exist = false)
	private Boolean endStatus;
}
